﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="application-navigation-list.aspx.cs"
    Inherits="SmartSpace.WebApp._console.core.application_navigation_list" MasterPageFile="~/_console/_console.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMenu" runat="server">
    <ul>
        <li><a href="theme-list.aspx">主题列表 </a></li>
        <li><a href="module-list.aspx">模块列表 </a></li>
        <li><a href="application-list.aspx">应用程序列表</a>
            <ul>
                <li><a href="application-navigation-list.aspx">导航列表 </a></li>
            </ul>
        </li>
        <li><a href="org-list.aspx">组织机构列表 </a></li>
        <li><a href="role-list.aspx">角色列表 </a></li>
        <li><a href="user-list.aspx">用户列表 </a></li>
    </ul>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolderTitle" runat="server">
        
            导航列表
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolderToolbar" runat="server">
    <asp:HyperLink ID="_ctlLinkBack" runat="server" NavigateUrl="~/_console/core/application-list.aspx">返回</asp:HyperLink>
    <asp:HyperLink ID="_ctlLinkAdd" runat="server">添加</asp:HyperLink>
    <asp:LinkButton ID="_ctlBtnSetDefault" runat="server" Text="设置为默认" OnClick="_ctlBtnSetDefault_Click" />
    <asp:LinkButton ID="_ctlBtnSetShortcut" runat="server" Text="设置为快捷方式" OnClick="_ctlBtnSetShortcut_Click" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolderContent" runat="server">
        <asp:TreeView ID="_ctlTreeNavigation" runat="server" Width="100%">
            <SelectedNodeStyle Font-Bold="true" BackColor="ActiveBorder" />
        </asp:TreeView>
        
            快捷方式列表
        <asp:Repeater ID="_ctlGridShortcut" runat="server" OnItemCommand="_ctlGridShortcut_ItemCommand">
            <HeaderTemplate>
                <table style="width:100%" border="1">
                    <tr>
                        <th>
                            -
                        </th>
                        <th>
                            Caption
                        </th>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <asp:LinkButton ID="_ctlBtnDelete" runat="server" CommandName="delete" CommandArgument='<%# Eval("NavigationId") %>'>删除</asp:LinkButton>
                    </td>
                    <td>
                        <%# Eval("Caption") %>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
</asp:Content>
